Security system communication modes

ABSTRACT

In one implementation, a wireless security system premises gateway component includes a first local area wireless communication component adapted to communicate wirelessly with plural wireless security system sensors distributed at a premises; a second local area wireless communication component adapted to communicate wirelessly with a general purpose mobile communications device; a communications interface component adapted to communicate with a wide area communications network that is located remotely of the premises; a security system controller component adapted to communicate with the general purpose mobile communications device to provide state information regarding the security system and to provide control inputs to the security system; and a single gateway housing configured and sized to house the first local area wireless communication component, the second local area wireless communication component, the communications interface component, and the security system controller.

CLAIM OF PRIORITY

This application is a continuation of U.S. patent application Ser. No.17/725,253, filed on Apr. 20, 2022, which claims priority to U.S. patentapplication Ser. No. 16/853,547, filed on Apr. 20, 2020, which claimspriority to U.S. patent application Ser. No. 16/241,619 filed Jan. 7,2019, which claims priority to U.S. patent application Ser. No.15/068,265, filed on Mar. 11, 2016, which claims priority to provisionalapplication No. 62/168,569 filed on May 29, 2015, the entire contents ofwhich are hereby incorporated by reference.

TECHNICAL FIELD

This specification generally relates to home security systems.

BACKGROUND

Home security systems have included a control panel that managescommunications from sensors distributed throughout the house. Thatcontrol panel has consisted of a large metal box designed to beinstalled in a hidden location within the house, such as in the basementor closet, and is often co-located with an electrical services box forthe house. Co-locating the control panel with the home electricalservices box made configuring power and other electrical andinterconnection with communications interfaces for the security systemcontrol panel convenient.

In wireless home security systems, distributed sensors can communicatewith the control panel wirelessly. The wireless sensors communicate withthe control panel, for example, when a state of the sensor has changed,such as a reed switch that has changed state due to a door being opened.In addition, wireless sensors may communicate with the control panel ona periodic basis making what is typically called a “supervisory”transmission, for example, to communicate that the sensor is workingproperly and that its battery is satisfactory. Depending on the state ofthe control panel (for example, whether in an “armed state” or not), thecontrol panel determines whether the state information provided to it bythe sensors constitutes an alarm condition, and if so, the control panelcan be programmed to take the appropriate action, such as sounding asiren, making communications to a remote monitoring system, etc.Wireless security systems have used certain standard frequency bands andoften proprietary data transmission protocols. Standard wirelesssecurity system frequency bands that have been used were selectedbecause they are optimized for enabling inexpensive, low-currenttransmitters housed with the distributed sensors. Example standardsecurity system frequencies include 300-500 MHz, 902-928 MHz, and2.4-2.5 GHz (the latter being the frequency used in ZigBee wirelesscommunications).

In addition, home security systems have also included a userinterface/control device specially designed for the security system, andthat can be installed in a more readily accessible location within thehouse than the location for the control panel, for example, by a door ofthe house or in a bedroom. The security system user interface/controldevice was typically designed to be powered principally by hard-wireconnections, and was designed to communicate with the control paneleither over a hard-wired connection or by a wireless transmission. Incases where the user interface/control device was located near a doorand that location was not provided with electrical power, electricalpower often needed to be provided to that location. In some designshowever, the user interface/control device was a battery-operated devicewhich made installation into an existing home less of a burden, and thatdevice would use the same standard security system communication bandsto communicate with the control panel that are used by the wirelesssensors. But in this case, having a battery-operated userinterface/control device imposed the requirement that the batteries inthat user interface/control device be changed or charged periodically.

Security system control panels have been designed and configured tocommunicate with devices and systems that are remote of the premises. Insuch a security system, the control panel is provided with interfaceequipment to interface with telephone and other wide-area communicationsnetworks, including, for example, land-line telephone systems, cellularcommunication networks, cable lines, etc. This capability has enabledthe security system to communicate alarm conditions at the premises to aremote monitoring service or a device such as a computer or smart phoneutilized by the homeowner in a remote location. This capability has alsoenabled the security system to be controlled from remote, using forexample, a telephone, computer, smartphone, etc.

Self-contained control panels have been used that incorporate both acontrol panel and a user interface/control device in a single devicehousing. With such self-contained control panels, the control paneldevice can provide the user interface for system operation andprogramming system functions, and can be designed and intended to beplaced in a readily accessible location within the home, for example,installed on a wall by a door or placed on a table in a convenientlocation. Such self-contained control panels have smaller form factorsdue to market preferences, which can make them more susceptible toelectrical interference issues between closely-spaced system components,such as high speed microprocessors and antennas.

SUMMARY

Systems, methods and techniques are described herein. In oneimplementation, a wireless security system premises gateway componentincludes a first local area wireless communication component adapted tocommunicate wirelessly with plural wireless security system sensorsdistributed at a premises; a second local area wireless communicationcomponent adapted to communicate wirelessly with a general purposemobile communications device; a communications interface componentadapted to communicate with a wide area communications network that islocated remotely of the premises, the communications interface componentconfigured to receive communications originating from the generalpurpose mobile communications device indirectly via the remotely locatedwide area communications network; a security system controller componentadapted to communicate with the general purpose mobile communicationsdevice to provide state information regarding the security system and toprovide control inputs to the security system, wherein the securitysystem controller component is adapted to communicate with the generalpurpose mobile communications device using direct wireless transmissionsbetween the general purpose mobile communications device and the secondlocal area wireless communication component when the general purposemobile communications device is in communications range of the secondlocal area wireless communications component, and wherein the securitysystem controller component is also adapted and configured tocommunicate with the general purpose mobile communications device usingindirect transmissions carried over the remotely located wide areacommunications network; and a single gateway housing configured andsized to house the first local area wireless communication component,the second local area wireless communication component, thecommunications interface component, and the security system controller.

In another implementation, a mobile communications device with one ormore processors and memory, the memory storing a downloaded premisessecurity system interface and control application that (i) is executableby the one or more processors of the mobile communications device and(ii) includes security system interface and control module configured togenerate communications that are to be communicated to a premisessecurity system gateway component and to process communicationstransmitted by the premises security system gateway component to thegeneral purpose mobile communications device; communications statemodule configured to produce an output indicating either a firstcommunications mode is active or a second communications mode is active;and communications module configured to provide the communicationsbetween the general purpose mobile communications device and thepremises security system gateway component using a local area wirelesscommunications system when the communications state module is indicatingthe first communications mode is active, the local area wirelesscommunications system providing a direct wireless connection between thegeneral purpose mobile communications device and the premises securitysystem gateway component. The communications module can further beconfigured to provide the communications between the general purposemobile communications device and the premises security system gatewaycomponent using a wide area wireless communications system when thecommunications state module is indicating the second communications modeis active, the wide area wireless communications system providing anindirect connection between the general purpose mobile communicationsdevice via a wide area communications system network.

In another implementation, a computer-implemented method for providing apremises system interface, the method includes determining, by anapplication running on a mobile communications device, whether themobile communications device is operating in a first communications modeor a second communications mode, wherein the first communications modeis used when the mobile communications device is in communications rangeof a communications component for a wireless security gateway located ata premises, and wherein the second communications mode is used when themobile communications device is not within the communications range ofthe communications component for the wireless security gateway;communicating, by the application and in response to determining thatthe mobile communications device is operating in the firstcommunications mode, with the wireless security gateway using a localarea wireless communications system, wherein the local area wirelesscommunications system provides a direct wireless connection between themobile communications device and the wireless security gateway;detecting, by the application, that the mobile communications device hasswitched from operating in the first communications mode to operating inthe second communications mode; communicating, by the application and inresponse to detecting the switch from the first communications mode tothe second communications mode, with the wireless security gateway usinga wide area wireless communications system, wherein the wide areawireless communications system provides an indirect wireless connectionbetween the mobile communications device and the wireless securitygateway; and stopping, by the application, the communicating with thewireless security gateway using the local area wireless communicationsystem.

Certain implementations may provide one or more advantages. For example,users can be provided with seamless access to connected devices (e.g.,IoT ecosystem) and security system components within a premisesregardless of whether they are located at the premises and regardless ofthe types of network connections (e.g., local area network (LAN), widearea network (WAN)) that are available. In another example, enrollmentand access to security system gateways can be controlled and managedlocally by the security system gateways, which can eliminate securityrisks associated with remote management and control.

The details of one or more implementations of the subject matterdescribed in this specification are set forth in the accompanyingdrawings and the description below. Other features, aspects, andadvantages of the subject matter will become apparent from thedescription, the drawings, and the claims.

BRIEF DESCRIPTION OF THE ATTACHMENTS

FIG. 1A is a block diagram showing interactions among a gateway andrelated components.

FIG. 1B is a block diagram of an example wireless security systempremises gateway component.

FIGS. 2A-2B collectively illustrate differences in gateway communicationusing LAN and WAN modes for the mobile device.

FIG. 3 shows example components of a security system that includes thegateway.

FIG. 4 is a block diagram showing example modules of the gateway.

FIG. 5A is a swim lane diagram of an example process for a scenario inwhich the mobile device is on the premises and uses LAN communications.

FIG. 5B is a swim lane diagram of an example process for a scenario inwhich the mobile device is not on the premises and uses WANcommunications.

FIG. 6 is a flow diagram of an example process changing from a LANcommunication mode to a WAN communication mode.

FIGS. 7A-F depict various views of an example security system gateway.

FIGS. 8A-G depict various views of an example siren component that canbe used as part of a security system.

FIGS. 8H-O depict various views of an example pinger device that can beused as part of a security system.

FIGS. 8P-U depict various views of an example touchpad device that canbe used as part of a security system.

FIGS. 9A-9B are swim lane diagrams of example scenarios of the gatewaydetecting a mobile device arriving on the premises.

FIGS. 10A and 10B are swim lane diagrams of example scenarios of thegateway detecting the mobile device leaving the premises.

FIGS. 11A-B are swim lane diagrams showing example scenarios of usingcombinations of WAN and LAN communications on the premises.

FIGS. 12A and 12B are swim lane diagrams showing example scenarios forenrollment of device with a security system.

FIG. 13 is a block diagram of an example computer system that can beused to implement the methods, systems and processes described in thisdisclosure.

Like reference numbers and designations in the various drawings indicatelike elements.

DETAILED DESCRIPTION

This document describes systems, devices, techniques, and mechanisms forsecurity systems in which the primary day-to-day user interface is amobile device that can communicate over a LAN, a WAN, or both as needed,and can additionally interface with both a security system and othersystems at a premises, such as an internet of things (“IoT”) ecosystemat a premises. IoT ecosystems can include wired and wireless devicesthat communicate over network connections (e.g., LAN, WAN, internet,wired connections, wireless connections) to provide any of a variety offeatures, such as remote monitoring (e.g., sensor data feeds) and remotecontrol (e.g., actuation of mechanical and/or electrical devices).Security system gateway devices can be used to provide interfacesbetween authorized mobile computing devices and an underlying securitysystem, and its component devices, at a premises as well as to one ormore IoT ecosystems at the premises, regardless of whether the mobilecomputing devices are located at or outside of the premises.

FIG. 1A is a block diagram showing interactions within an examplesecurity system. For example, the security system can include a securitysystem premises gateway (e.g., a gateway 100) and related components.The example gateway 100 can control the security system and can providean interface for a mobile computing device 102 to access/control thesecurity system and/or an IoT ecosystem. Mobile devices 102 can include,for example, general purpose mobile control devices, including smartphones, tablet computing devices, laptop computers, wearable computingdevices, and/or other computing devices that may be mobile. Other typesof computing devices can be used as the mobile device 102.

The gateway 100 can communicate with plural components, including IoTdevices 104, security system detectors 106, one-way security systemcontrol devices 110, and a remote security system service 112. In someimplementations, “peripheral” and “central” roles can be played by thedevices during LAN communication. For example, when devices communicateover a LAN connection, one of the devices may communicate as a centralrole that coordinates and manages the communication (e.g., addressing,communications hub) and other devices can communicate in peripheralroles. As such, example roles and situations for the security systemdescribed in this document include the gateway 100 communicating as acentral with IoT devices 104 acting as peripherals, the gateway 100communicating as a central with two-way security system control devices136 acting as peripherals, the gateway 100 communicating as a centralwith the mobile device 102 acting as a peripheral, and the mobile device102 communicating as a central with the IoT devices 104 acting asperipherals.

Communications among the gateway 100 and related components can includelocal area network (LAN) communications 114 and wide area network (WAN)communications 116. LAN communications 114 can be used, for example,among components that are situated in the premises of the gateway 100,including the mobile device 102 when present within a threshold distanceof the gateway 100 (e.g., in or near the home or other building(s) inwhich the gateway 100 is located). Components that communicate over theLAN can include LAN communication systems 118 (peripheral role) and 120(central role), and a cellular communication system 122 (e.g., WAN).Security system-related components can use a standard security systemcommunication system 124 (e.g., using standard security systemtransmissions 125). WAN communication between the gateway 100 and themobile device can be handled using a WAN communication system network126 (e.g., that service cellular phone networks).

IoT devices 104 can include components in the premises that may or maynot be security system-related, such as temperature sensors and controls(including heating and air conditioning), doors, locks, garage doors,appliances, lights, and other systems. In some implementations, the IoTdevices 104 can be part of an IoT device ecosystem 128 on the premises.In some implementations, the IoT devices 104 can be controlled and/orinterfaced with an IoT ecosystem gateway 130.

In some implementations, communication between the gateway 100 and themobile device 102 can be handled with a downloaded security systemcontrol application 134. The gateway can also communicate with a two-waysecurity system control device 136 (e.g., a keypad) using low-energy LANcommunication 138.

In some implementations, LAN communication systems can include Bluetoothlow energy (BTLE). Compared to Classic Bluetooth, BTLE can provideconsiderably reduced power consumption and cost, while maintaining asimilar or greater communication range. In addition to BTLE, WiFi can beused as a LAN communication system. LAN communication systems caninclude low-energy transmission, e.g., to preserve the battery life of adevice that is serving as a peripheral in the communication protocol.

In some implementations, standard security system communication systemscan be used with wireless security systems. Traditionally, standardcommunication systems can operate in the 300-500 MHz frequency range,e.g., optimized for an inexpensive, low-current transmission. Otherstandard security system communication systems, for example, can utilize900 MHz or 2.4 GHZ bands.

FIG. 1B is a block diagram of an example wireless security systempremises gateway component 150. For example, the wireless securitysystem premises gateway component 150 can be implemented with thecomponents described herein and can be used for the gateway 100described above. In some implementations, the wireless security systempremises gateway component 150 can include the following components, butadditional components are possible.

A first local area wireless communication component 152 can be adaptedto communicate wirelessly with multiple wireless security system devices(e.g., sensors, controllers) distributed at a premises (e.g., home,building, office).

A second local area wireless communication component 154 can be adaptedto communicate wirelessly with a general purpose mobile communicationsdevice (e.g., the mobile device 102). For example, the second local areawireless communication component can be a component that utilizes aBluetooth low energy protocol. In some implementations, under theBluetooth low energy protocol, the gateway component can be configuredas a central and the general purpose mobile communications device can beconfigured as a peripheral.

In some implementations, the second local area wireless communicationcomponent 154 can be adapted to communicate wirelessly with a two-wayuser interface and control device specifically designed for use with thesecurity system.

In some implementations, the second local area wireless communicationcomponent 154 can be further adapted to communicate wirelessly with aplurality of devices that are located in or around the premises. Theplurality of devices can each include one or more of the following: (i)components to monitor and transmit status information and (ii)components that are remotely controllable and manage operation of one ormore devices. The wireless security system premises gateway componentcan further include a local device communication controller that isconfigured to provide a communication interface between the generalpurpose mobile communications device and the plurality of devices usingindirect transmissions carried over the remotely located wide areacommunications network.

In some implementations, the plurality of devices can be part of anInternet of things (IoT) ecosystem at or around the premises.

In some implementations, for communication between the gateway componentand the plurality of devices, the gateway component can be configured asa central and the plurality of devices can be configured as peripherals.

A communications interface component 156 can be adapted to communicatewith a wide area communications network that is located remotely of thepremises. The communications interface component 156 can be configuredto receive communications originating from the general purpose mobilecommunications device indirectly via the remotely located wide areacommunications network.

In some implementations, direct communications between the generalpurpose mobile communications device and the gateway component using thesecond local area wireless communication component can be performedunder a topology in which the gateway component is configured as a hub(e.g., master or control) and the general purpose mobile communicationsdevice is configured as a peripheral (e.g., slave).

A security system controller component 158 can be adapted to communicatewith the general purpose mobile communications device to provide stateinformation regarding the security system and to provide control inputsto the security system. The security system controller component 158 canbe adapted, for example, to communicate with the general purpose mobilecommunications device using direct wireless transmissions between thegeneral purpose mobile communications device and the second local areawireless communication component 154 when the general purpose mobilecommunications device is in communications range of the second localarea wireless communications component 154. The security systemcontroller component 158 can also be adapted and configured tocommunicate with the general purpose mobile communications device usingindirect transmissions carried over the remotely located wide areacommunications network.

A single gateway housing 160 can be configured and sized to house thefirst local area wireless communication component 152, the second localarea wireless communication component 154, the communications interfacecomponent 156, and the security system controller 158.

In some implementations, the gateway component does not include adisplay component providing a graphical user interface or textual userinterface. For example, user interface and display functionality can beprovided through the mobile device 102.

FIGS. 2A-2B collectively illustrate differences in gateway communicationusing LAN and WAN modes for the mobile device 102. For example, FIG. 2Ashows LAN communication between the mobile device 102 and the gateway100 when the mobile device 102 is within a premises 202 (e.g., in ornear a home or other location in which the gateway 100 is installed).FIG. 2B, for example, includes WAN communication between the mobiledevice 102 and the gateway 100 when the mobile device 102 is outside thepremises 202.

Referring to FIG. 2A, the mobile device 102 includes communicationsmodules 204 for communicating with the gateway 100 and IoT devices 206.For example, communication between the mobile device 102 and the gateway100 can use low-energy LAN communications 208 (e.g., BTLE, Wi-Fi). Insome implementations, the mobile device 102 can act as central incommunications with the IoT devices 206, which communicate asperipherals with the mobile device 102. Also, the gateway 100 can act ascentral in communications with the mobile device 102, which cancommunicate as a peripheral with the gateway 100. Low-energycommunication 210 (e.g., 300-400 MHz) can be used between the gateway100 and the security system detectors 212. WAN communication 214,depicted in FIG. 2A using italics, is not used in the exampleconfiguration shown in FIG. 2A, e.g., with the mobile device 102 on thepremises. However, as described below, WAN communication 214 may be usedin addition and/or alternative to LAN communication 208 when the mobiledevice 102 is located in or near the premises 202.

Referring to FIG. 2B, as the mobile device 102 is outside the premises202, WAN communication 214 is used for communications between the mobiledevice 102 and the gateway 100. In the configuration shown in FIG. 2B,the low-energy LAN communications 208 included in the communicationmodules 204 are depicted using italics, as LAN communication by themobile device 102 is not used.

In some implementations, the user interface of the mobile device 102 caninclude typical security system displays and controls, as shown in FIGS.2A and 2B. The gateway 100 and the interfaces it provides to the mobiledevice 102 can permit the interface to be the same on the mobile device102 regardless of whether the mobile device 102 is located at thepremises or outside the premises, and regardless of the type ofconnection (LAN/WAN) to the gateway. For example, an arm/disarm control216 can be used to arm and disarm the gateway 100, respectively. A viewsensors control 218, for example, can allow the user to displayadditional information regarding security sensors that are monitored bythe gateway 100. IoT controls 220 can allow the user to view the currentstatus of IoT devices that are controlled by the gateway 100 or viewinformation for individual IoT devices. Other interface features andcontrols are also possible. By using the mobile device 102 in this wayas the user interface for the security system, the interface and theuser's experience can be the same regardless of whether the user is ator outside the premises, as indicated by the interface being the sameacross FIGS. 2A and 2B.

FIG. 3 shows example components of a security system that includes thegateway 100. For example, the components can include existing products(e.g., various types of mobile devices 102) that can be programmed tointerface with the gateway 100, and security system manufacturedproducts 304. For example, in addition to the gateway 100, the securitysystem manufactured products 304 can include a wireless siren 308 thatcan sound one or more alarms, depending on detected events, a PINpad 310for entering commands (in addition to commands entered by the mobiledevice 102), a Key Fob 312 for communicating with the gateway 100, and ahigh-density camera 314 connected to the gateway 100 for capturing videoand still image, all compatible with the gateway 100. Other components,such as various types of sensors, sound recording devices, proximitypingers (e.g., for children or elderly) are possible.

FIG. 4 is a block diagram showing example modules 402-424 of the gateway100. For example, a cellular communication system 402 can enable thegateway 100 to communicate with external devices over a WAN connection,such as with the mobile device 102 and Internet resources (e.g., acentral registration site for security systems and associated mobiledevices). A security system communication system 404, for example, canallow the gateway 100 to communicate with security system components,such as sensors, alarms and other components. A LAN communication system406 can include hardware and software/firmware (e.g., drivers) for thegateway 100 to communicate over the LAN. An alarm conditiondetermination module 408, for example, can use information received fromperipherals and other devices controlled/connected with the gateway 100to determine the condition of the alarms, such as being in alarmed mode,having failure-related issues, or for other reasons. A dedicated sensorradio 410, for example, can include proprietary and/or commercialcomponents that facilitate continuously listening for transmissions bysensors and/or other tracked components.

A monitoring service/communication module 412, for example, can managecommunication for the gateway 100 using one or more of the communicationsystems 402, 404, and 406, and can monitor the status of variousperipheral devices that are communicating or otherwise transmittinginformation that is detected by the gateway 100. A reporting module 414,for example, can generate reports that include information associatedwith the security system, including dates and times of specific events,such as arming/disarming, occupation times by registered users and/ordevices, security incidents, and other information. A security systemcontroller component 416, for example, can control the day-to-dayoperation of the security system, including monitoring for alarmconditions and performing actions based on information received fromcomponents of the security system. An IoT device communicationcontroller component 418, for example, can communicate with IoT devices(e.g., non-security-related devices) that are interfaced with thesecurity system in addition to components normally consideredsecurity-related. A user authorization module 420, for example, canhandle and process user inputs (e.g., from a mobile device) that areassociated with the registration of new users/devices, and verify userauthorization during use of the security system. A supervising module422, for example, can perform supervisory activities (e.g., track andmeasure timing of transmissions) associated with components that arecontrolled by the gateway 100.

A data store of programming parameters 424, for example, can includeinformation for authority levels, arming levels, mapping and otherinformation. For example, the programming parameters 424 can identifypeople who are authorized to arm/disarm the security system at specifictimes, identify times and days of the week that the security system isto be armed and at what level, identify users and circumstances forwhich notifications are to be sent, among other parameters. The gateway100 (and its components) can include one or more processor(s) 426 forexecuting instructions (e.g., application code), memory 428 for storinginformation, and a communications interface 430 for communicating withother components. Other modules of the gateway 100 are possible.

FIG. 5A is a swim lane diagram of an example process 500 for a scenarioin which the mobile device 102 is on the premises and uses WANcommunications. For example, the process 500 can be performed, in part,by the gateway 100, the mobile device 102, one or more IoT devices 104,and one or more security system detectors 106. In some implementations,interactions associated with the IoT devices 104 can be omitted, e.g.,if there are no IoT devices 104 in communication with the gateway 100.Steps for other components can be included within the process 500, e.g.,if the other components are in communication with the gateway 100.

At 502, a determination is made that the mobile device 102 is located atpremises, such as using GPS capabilities of the mobile device 102 anddetermining proximity to the gateway 100. Other ways of determiningproximity can be used.

At 504, the mobile device 102 can establish a low energy LAN connectionwith the gateway 100. At 506, the gateway 100 can establish a low energyLAN connection with the mobile device 102. In some implementations,either one of the mobile device 102 or the gateway 100 can initiateestablishing the connection. At 508, the mobile device 102 can establishlow energy LAN connections with one or more of the IoT devices 104. At510, the IoT devices 104 can establish a low energy LAN connection withthe mobile device 102.

At 512, the security system detectors 106 can transmit security systemdata to the gateway 100, such as if a sensor has been tripped (e.g.,motion or vibration has been detected), an event has occurred, or astatus is being provided. At 514, the gateway 100 can receive andprocess the received security system data, e.g., to perform an actionbased on the received information.

Interactions associated with the gateway 100 and one or more securitysystem detectors 106 can occur, for example. At 516, the gateway 100 cantransmit security system information (e.g., an alarm is sounding) to themobile device 102. At 518, the mobile device 102 can receive and outputthe received security system information, such as by displayinginformation on the screen of the mobile device 102 or by sending a textmessage. Other forms of communication are possible. At 520, the mobiledevice 102 can receive and transmit a user input security system controlcommand, such as a command entered by the user to clear the soundingalarm or some other action. At 522, the gateway 100 can receive andprocess the command.

In another example, interactions associated with IoT devices can occur.At 524, the IoT devices 104 can transmit IoT data to the mobile device102, such as if a respective IoT device 104 has encountered. At 526, themobile device 102 can receive and process the IoT data. At 528, themobile device 102 can output IoT information, e.g., for use by themobile device 102, such as for presentation on a display. The user, forexample, can make a decision to perform an action is response to thereceived information, and the action can take the form of user inputand/or selection of controls on the mobile device 102. At 530, themobile device 102 can receive and transmit a user input IoT controlcommand to the IoT devices 104. At 532, the IoT devices 104 can receiveand process the command, e.g., to reset, to close down, to reboot, tochange setting, or perform some other action.

FIG. 5B is a swim lane diagram of an example process 533 for a scenarioin which the mobile device 102 is not on the premises and uses WANcommunications. For example, the process 533 can be performed, in part,by the gateway 100, the mobile device 102, one or more IoT devices 104,and one or more security system detectors 106. In some implementations,interactions associated with the IoT devices 104 can be omitted, e.g.,if there are no IoT devices 104 in communication with the gateway 100.Steps for other components can be included within the process 533, e.g.,if the other components are in communication with the gateway 100. Theprocess 533 can be similar to the process 500, except that WANcommunication is used between the mobile device 102 and the gateway 100,which affects how processing is to occur for the security system.

At 534, a determination is made that the mobile device 102 is notlocated at premises, such as detecting the absence of a wireless beaconsignal from the gateway 100 or losing the LAN connection and/or usingGPS capabilities of the mobile device 102 and determining that thelocation is a threshold distance away from the gateway 100.

At 536, the mobile device 102 can establish a WAN connection with thegateway 100. At 538, the gateway 100 can establish a WAN connection withthe mobile device 102. In some implementations, either one of the mobiledevice 102 or the gateway 100 can initiate establishing the WANconnection. At 540, the gateway 100 can establish low energy LANconnections with one or more of the IoT devices 104. In some instances,in low energy LAN (and particularly in BTLE) a traditional connectionmay not be needed for a peripheral to convey data to a central. Forexample, a BTLE thermometer can transmit temperature information to thegateway 100 and/or the mobile device 102. At 542, the IoT devices 104can establish a low energy LAN connection with the mobile device 102.

At 544, the security system detectors 106 can transmit security systemdata to the gateway 100, such as if a sensor has been tripped (e.g.,motion or vibration has been detected), an event has occurred, or astatus is being provided. At 546, the gateway 100 can receive andprocess the received security system data, e.g., to perform an actionbased on the received information.

Interactions associated with the gateway 100 and one or more securitysystem detectors 106 can occur, for example. At 548, the gateway 100 cantransmit security system information (e.g., an alarm is sounding) to themobile device 102. At 550, the mobile device 102 can receive and outputthe received security system information, such as by displayinginformation on the screen of the mobile device 102 or by sending a textmessage. Other forms of communication are possible. At 552, the mobiledevice 102 can receive and transmit a user input security system controlcommand, such as a command entered by the user to clear the soundingalarm or some other action. At 554, the gateway 100 can receive andprocess the command. Steps 548-554, for example, can be similar to thesteps 516-522 described above with reference to FIG. 5A.

In another example, interactions associated with IoT devices can occur.At 556, the IoT devices 104 can transmit IoT data to the gateway 100,which can, at step 558, receive and process IoT data over the WAN, andforward IoT data to the mobile device 102. At 560, the mobile device 102can receive and process the IoT data. At 562, the mobile device 102 canoutput IoT information, e.g., for use by the mobile device 102, such asfor presentation on a display. The user, for example, can make adecision to perform an action is response to the received information,and the action can take the form of user input and/or selection ofcontrols on the mobile device 102. At 564, the mobile device 102 canreceive and transmit a user input IoT control command to the gateway100, which, at 566, can forward the command to the IoT devices 104. At568, the IoT devices 104 can receive and process the command, e.g., toreset, to close down, to reboot, to change setting, or perform someother action. Other sequences of steps are possible in the process 533.

FIG. 6 is a flow diagram of an example process 600 changing from a LANcommunication mode to a WAN communication mode. For example, the process600 can be performed by a mobile computing device, such as the mobiledevice 102, which can include a premises system interface.

At 602, a determination is made, by an application running on a mobilecommunications device, whether the mobile communications device isoperating in a first communications mode or a second communicationsmode. For example, an application running on the mobile device 102 candetermine whether the mobile device 102 is running in LAN mode or WANmode. The first communications mode (e.g., LAN mode) is used when themobile communications device (e.g., the mobile device 102) is incommunications range of a communications component (e.g., the LANcommunication system 120) for a wireless security gateway (e.g., thegateway 100) located at a premises. The second communications mode(e.g., WAN mode) is used when the mobile communications device (e.g.,the mobile device 102) is not within the communications range of thecommunications component (e.g., the LAN communication system 120) forthe wireless security gateway (e.g., the gateway 100).

In response to determining that the mobile communications device isoperating in the first communications mode, the application communicateswith the wireless security gateway (e.g., the gateway 100) using a localarea wireless communications system (e.g., the LAN communication system120). The local area wireless communications system provides a directwireless connection between the mobile communications device (e.g., themobile device 102) and the wireless security gateway (e.g., the gateway100).

Detection is made that the application that the mobile communicationsdevice (e.g., the mobile device 102) has switched from operating in thefirst communications mode (e.g., LAN mode) to operating in the secondcommunications mode (e.g., WAN mode).

In response to detecting the switch from the first communications modeto the second communications mode, the application communicates with thewireless security gateway (e.g., the gateway 100) using a wide areawireless communications system (e.g., the WAN communication systemnetwork 126). The wide area wireless communications system provides anindirect wireless connection between the mobile communications device(e.g., the mobile device 102) and the wireless security gateway (e.g.,the gateway 100).

The communicating with the wireless security gateway (e.g., the gateway100) using the local area wireless communication system (e.g., the LANcommunication system 120) is stopped by the application.

FIGS. 7A-F depict various views of an example security system gateway100 a. For instance, FIG. 7A depicts a front view of the example gateway100 a, FIG. 7B depicts a back view of the example gateway 100 a, FIG. 7Cdepicts a top view of the example gateway 100 a, FIG. 7D depicts abottom view of the example gateway 100 a, and FIGS. 7E-F depict sideviews of the example gateway 100 a. As shown in FIGS. 7A-F, the examplegateway 100 a may not include a user interface, such as a graphical userinterface, to program or otherwise control operation of the gateway 100a. The gateway 100 a can include one or more physical buttons, such asbuttons depicted in FIG. 7E, that can be pressed by a user to place thegateway 100 a into various modes of operation, such as a mode throughwhich users can enroll their devices with the gateway 100 a. The gateway100 a can also include one or more lights (e.g., LEDs) that can providestatus information for the gateway 100 a, such as status informationindicating that the gateway 100 a is on, connected to WAN, in enrollmentmode, and/or that an alarm condition has been detected.

FIGS. 8A-G depict various views of an example siren component 802 thatcan be used as part of a security system. The example siren component802 can, for example, wirelessly communicate with the security systemgateway 100 and can output information (e.g., alarms, instructions) tousers as instructed by the security system gateway 100. The sirencomponent 802 can be similar to the one-way security system controldevice 110 described above with regard to FIG. 1A. FIGS. 8A-B depictthree-dimensional perspectives of the example siren component 802, FIG.8C depicts a front view of the example siren component 802, FIG. 8Ddepicts a back view of the example siren component 802, FIG. 8E depictsa bottom view of the example siren component 802, and FIGS. 8F-G depictside views of the example siren component 802.

FIGS. 8H-O depict various views of an example pinger device 804 that canbe used as part of a security system. The example pinger 804 can, forexample, wirelessly communicate with the security system gateway 100 topassively provide information (e.g., pings), which can indicate thepresence of an associated user, and to actively provide information(e.g., button press), which can indicate one or more inputs from a user(e.g., emergency, disarm command, arm command, unlock command). Thepinger 804 can be similar to the one-way security control device 110described above with regard to FIG. 1A. FIGS. 8H-I depict perspectiveviews of the example pinger device 804, FIG. 8J depicts a top view ofthe pinger device 804, FIG. 8K depicts a bottom view of the pingerdevice 804, FIGS. 8L-M depict side views of the pinger device 804, FIGS.8N-O depict end views of the pinger device 804.

FIGS. 8P-U depict various views of an example touchpad device 806 thatcan be used as part of a security system. The example touchpad device806 can be programmed to receive and display information from a securitysystem gateway (e.g., the gateway 100), to receive user input, and totransmit information (e.g., user commands, passwords) to the gateway100. The example touchpad 806 can include any of a variety ofappropriate technologies to output information, to receive user input,and to communicate with the gateway 100. For example, the touchpad 806can use low-power displays, such as electronic ink displays (e.g.,electrophoretic displays, electrowetting displays), and can use inputfeatures such as physical buttons and/or touch-based features (e.g.,capacitive touch sensors). As depicted in the example views of thetouchpad device 806, multiple output and input features (some of whichmay overlap/be the same) can be provided. The example touchpad device806 can be, for example, similar to the two-way security system controldevice 136 described above with regard to FIG. 1A.

FIG. 8P depicts a three-dimensional perspective of the example touchpaddevice 806, FIG. 8Q depicts a front view of the example touchpad device806, FIG. 8R depicts a top view of the example touchpad device 806, FIG.8S depicts a bottom view of the example touchpad device 806, and FIGS.8T-U depict end views of the example touchpad device 806.

FIGS. 9A-9B are swim lane diagrams of example scenarios of the gatewaydetecting a mobile device arriving on the premises. For example, in FIG.9A, the gateway 100 can detect the arrival of the mobile device 102 andperform various actions (e.g., disarming the security system, openingblinds) in response. In FIG. 9B, for example, the mobile device 102 can,on its own, detect its arrival on the premises and instruct actions tobe performed. The swim lane diagrams illustrate actions performed by thegateway 100, the mobile device 102, one or more IoT devices 104, and oneor more security system detectors 106.

Referring to FIG. 9A, communication modes can already be in effect, forexample, when the mobile device 102 is outside the premises 901, beforearriving on the premises. At 902, WAN communication is alreadyestablished at the mobile device 102. At 904, WAN communication isalready established at the gateway 100. At 906, 908 and 910,respectively, LAN communication is already established at the gateway100, the IoT devices 104, and the security system detectors 106.

In some implementations, communication may not automatically switch overfrom WAN to LAN just because the LAN is available. For example, if theWAN communication is functioning correctly and there is no need oradvantage to switch to LAN communication, the WAN communication cancontinue. Further, LAN and WAN communication between the mobile device102 and the gateway 100 can occur simultaneously, e.g., to handledifferent types of information.

The mobile device 102 can arrive on the premises 911. At 912, the mobiledevice 102 can transmit a LAN beacon for detection by the gateway 100(the mobile device 102 may continually and/or intermittently transmitsuch LAN beacons, but a beacon signal may first be detected by thegateway 100 when the device 102 arrives at the premises). At 914, thegateway 100 can detect the LAN beacon received from the mobile device102. In some implementations, both the mobile device 102 and the gateway100 can transmit LAN beacons, which can be detected by the other deviceand used by both devices 102 and 100 to confirm the presence of themobile device 102 at the premises.

In some implementations, a pinger device can be used in conjunction withthe security system and, when carried by the user, serve as a redundantmobile device. In some implementations, the pinger can be used to notifythe presence of the user (e.g., for specific, pre-determined eventsoccurring in the security system), such as when the mobile device 102 isturned off and/or when an application linked to the security system isnot executing.

Upon detection of the LAN beacon by the gateway 100, various actions canbe initiated by the gateway 100. For example, at 916, adjustments to IoTdevices and/or security system devices are determined by the gateway 100in response to the device 102 being determined to have arrived at thepremises (e.g., a state for the device 102 changing from remote tolocal). At 918, instructions for the adjustments are transmitted overLAN. At 920, the instructions are received by the IoT devices 104. At922, the instructions are received by the security system detectors 106.At 924 and 926, respectively, the IoT devices 104 and the securitysystem detectors 106 can perform the adjustments. At 928 and 930,respectively, the IoT devices 104 and the security system detectors 106transmit status over LAN that indicates that the adjustments have beenmade. At 932, the status information is received by the gateway 100.

As soon as various actions are performed and associated completionstatus is received by the gateway 100, notification to the user cancommence. At 934, the status can be transmitted over WAN and/or LAN bythe gateway 100. At 936, the status can be received over WAN and/or LANby the mobile device 102, e.g., for presentation to the user.

In some implementations, switching to LAN communication may not occursimply because the LAN is available. Rather, communication may continuewith the WAN, even if the user has arrived on the premises 901.

Referring to FIG. 9B, for example, the mobile device 102 can detect itsarrival on the premises, and it can determine and instruct actions to beperformed. For example, this differs from FIG. 9A in which the gateway100 detects the arrival of the mobile device 102.

As similarly described above for FIG. 9A, various communication modescan already be in effect, for example, when the mobile device 102 isoutside the premises 901, before arriving on the premises. At 938, WANcommunication is already established at the mobile device 102. At 940,WAN communication is already established at the gateway 100. At 942, 944and 946, respectively, LAN communication is already established at thegateway 100, the IoT devices 104, and the security system detectors 106.

At 948, a LAN beacon is transmitted by the gateway 100. At 950, a beaconsignal transmitted by the gateway 100 is detected at the mobile device102. At 952, in response to detecting the beacon signal the mobiledevice 102 can determine adjustments to IoT devices and/or securitysystem devices, e.g., using the application on the mobile device 102. At954, adjustments are transmitted by the mobile device 102 over the WANand/or the LAN. At 956, adjustments are received over the WAN and/or theLAN by the gateway 100.

At 958, instructions for the adjustments are transmitted over LAN. At960, the adjustments are received by the IoT devices 104. At 962, theinstructions are received by the security system detectors 106. At 964and 966, respectively, the IoT devices 104 and the security systemdetectors 106 perform the adjustments. At 968 and 970, respectively, theIoT devices 104 and the security system detectors 106 transmit statusover LAN that indicates that the adjustments have been made. At 972, thestatus information is received by the gateway 100.

As soon as various actions are performed and associated completionstatus is received by the gateway 100, notification to the user cancommence. At 974, the status can be transmitted over WAN and/or LAN bythe gateway 100. At 976, the status can be received over WAN and/or LANby the mobile device 102, e.g., for presentation to the user.

In some implementations, hybrid scenarios can exist that arecombinations of the scenarios described above with reference to FIGS. 9Aand 9B. For example, each the mobile device 102 and the gateway 100 cantransmit LAN beacons (e.g., at steps 912 and 948, respectively).Further, the beacon signals can be detected at the other side (e.g., atsteps 914 and 950, respectively) and can be used by either sideindividually and/or both sides in combination to verify that the mobiledevice 102 is located at the premises 911. For example, the mobiledevice 102 can communicate detection of the beacon signal from thegateway 100 over a LAN and/or WAN connection with the gateway 100, andthe gateway 100 can confirm the presence of the mobile device 102 at thepremises 911 based on detecting a beacon signal from the mobile device102 and receiving the communication over the LAN and/or WAN of thegateway 100's beacon signal being detected by the mobile device 102.Adjustments to the security system can be determined on either side,e.g., the mobile device 102 or the gateway 100, at steps 952 or 916,respectively. Regardless of the communication between the mobile device102 and the gateway 100, the gateway 100 can transmit the instructionsto the IoT devices 104 and the security system detectors 106.

FIGS. 10A and 10B are swim lane diagrams of example scenarios of thesecurity system detecting the mobile device 102 leaving the premises911. For example, in FIG. 10A, the gateway 100 can detect that themobile device 102 has left the premises and can perform some actions inresponse. In FIG. 10B, for example, the mobile device 102 can detect itsown departure and can instruct actions to be performed.

Referring to FIG. 10A, communication modes can already be in effect, forexample, while the mobile device 102 is inside the premises 911 and justbefore leaving the premises. For example, at 1002, 1004, 1006, and 1008,LAN communication is already established at the mobile device 102, theIoT devices 104, the gateway 100, and the security system detectors 106,respectively.

At 1010, for example, the LAN connection can be detected to beunavailable, such as by the application executing on the mobile device102. At 1012, the gateway 100 can detect that the mobile device 102 isno longer available via the LAN. As the LAN connection is no longeravailable, at 1014 and 1016, respectively, the mobile device 102 and thegateway 100 can establish a WAN connection.

At 1018, adjustments to IoT devices and/or security system devices aredetermined by the gateway 100 in response to detecting that the mobiledevice 102 has left the premises. At 1020, instructions for theadjustments are transmitted over LAN. At 1022 and 1024, respectively,the instructions are received by the IoT devices 104 and the securitysystem detectors 106. At 1026 and 1028, respectively, the IoT devices104 and the security system detectors 106 can perform the adjustments.At 1030 and 1032, respectively, the IoT devices 104 and the securitysystem detectors 106 can transmit status over LAN that indicates thatthe adjustments have been made. At 1034, the status information isreceived by the gateway 100.

As soon as various actions are performed and associated completionstatus is received by the gateway 100, notification to the user cancommence. At 1036, the status can be transmitted over WAN by the gateway100. At 1038, the status can be received over WAN by the mobile device102, e.g., for presentation to the user.

Referring to FIG. 10B, for example, the mobile device 102 can detect itsown departure from the premises, and can determine and instruct actionsto be performed in response thereto. For example, this differs from FIG.10A in which the gateway 100 detects the absence of the mobile device102.

Communication modes can already be in effect, for example, while themobile device 102 is inside the premises 911, e.g., just before themobile device 102 leaves the premises. For example, at 1040 and 1042,respectively, WAN communication is already established at the mobiledevice 102 and the gateway 100. Further, at 1043, 1044, 1046 and 1048,respectively, LAN communication is already established at the mobiledevice 102, the IoT devices 104, the gateway 100, and the securitysystem detectors 106.

While the mobile device 102 is inside the premises 911, for example, at1050, A LAN beacon can be transmitted by the gateway 100. At 1052, forexample, the mobile device 102 can repeatedly detect the LAN beacon.Upon leaving the premises, at 1054, the mobile device 102 can detect theabsence of the LAN beacon. During this time, at 1056, the LAN beacontransmitted by the gateway 100 goes undetected by the mobile device 102.

At 1058, adjustments to IoT devices and/or security system devices aredetermined by the mobile device 102. At 1060, instructions for theadjustments are transmitted over WAN. At 1062, the instructions arereceived by the gateway 100. At 1064, e.g., after additional processingby the gateway 100, instructions for the adjustments are transmittedover LAN. At 1066 and 1068, respectively, the instructions are receivedby the IoT devices 104 and the security system detectors 106. At 1070and 1072, respectively, the IoT devices 104 and the security systemdetectors 106 perform the adjustments. At 1074 and 1076, respectively,the IoT devices 104 and the security system detectors 106 transmitstatus over LAN that indicates that the adjustments have been made. At1078, the status information is received by the gateway 100.

As soon as various actions are performed and associated completionstatus is received by the gateway 100, notification to the user cancommence. At 1080, the status can be transmitted over WAN by the gateway100. At 1082, the status can be received over WAN by the mobile device102, e.g., for presentation to the user.

FIGS. 11A-B are swim lane diagrams showing example scenarios of usingcombinations of WAN and LAN communications on the premises. For example,in the scenario presented in FIG. 11A, WAN and LAN communication areused concurrently. Specifically, the WAN can be used for first types ofcommunication, such as video streaming (or other larger data packets),and the LAN can be used for second types of communication, such asstatus information (or other smaller data packets). In this way, moreefficient use of LAN and WAN communications can be made.

WAN communication can already be in effect, for example, while themobile device 102 is outside the premises. For example, at 1102 and1104, respectively, WAN communication is already established at themobile device 102 and the gateway 100.

At 1106, a LAN beacon is transmitted by the gateway 100. At 1108, thebeacon sent by the gateway 100 is detected at the mobile device 102.Upon detecting the LAN beacon, steps can be taken to establish a LANconnection. At 1110 and 1112, respectively, a LAN connection can beestablished by the mobile device 102 and the gateway 100.

At 1114, first types of communications can be identified for beingtransmitted over the WAN (e.g., bandwidth intensive communications, suchas video streaming from a security camera), and second types ofcommunications can be identified for being transmitted over the LAN(e.g., less bandwidth intensive communications, such as state and statusinformation for the IoT device and/or security system components).Subsequently, at 1116, first types of communications can be transmittedover WAN by the gateway 100. At 1118, the first types of communicationscan be received over the WAN by the mobile device 102. During the sametime, at 1120, second types of communications can be transmitted overLAN by the gateway 100. At 1122, the first types of communications canbe received over the LAN by the mobile device 102.

Referring to FIG. 11B, an example scenario is presented in which aswitch from WAN to LAN communication occurs, e.g., when there is adegradation in performance on the WAN (e.g., threshold level of packetloss detected, threshold latency detected, less than threshold bandwidthavailable). WAN communication may still be in effect, for example, fromthe time when the mobile device 102 was outside the premises. Forexample, at 1124 and 1126, respectively, WAN communication is alreadyestablished at the mobile device 102 and the gateway 100.

The mobile device 102 may enter the premises. At 1128, a LAN beacon istransmitted by the gateway 100. At 1130, the beacon sent by the gateway100 is detected at the mobile device 102.

Over time, WAN communication may fall below a threshold level, e.g.,while the mobile device 102 is on the premises. For example, at 1132,the WAN communication link can be detected to have fallen belowthreshold quality level (e.g., latency, bandwidth, packet loss). BecauseLAN communication is available (e.g., the LAN beacon was received), LANcommunication can replace the WAN communication. For example, at 1134and 1136, respectively, a LAN connection can be established by themobile device 102 and the gateway 100.

FIGS. 12A and 12B are swim lane diagrams showing example scenarios forenrollment of a mobile device with a security system. For example, FIG.12A is a swim lane diagram for a scenario for local enrollment by amobile device 102 with the security system (e.g., through the gateway100). FIG. 12B, for example, is a swim lane diagram for a scenario forremote distribution of settings to mobile device after enrollment (e.g.,user buys a new mobile device 102, device settings are accidentallylost).

At 1202, the mobile computing device 102 receives input from a userinstructing that a security system application be installed and/orlaunched on the mobile device 102. For example, the user can downloadand install an application on the mobile device 102 for communicatingwith the security system using the gateway 100.

At 1204, the mobile device 102 can receive user input that includes ausername, password, and selection of an enrollment option. Such inputcan be received through a user interface provided by the applicationthat was launched on the mobile device 102.

At 1206, the gateway 100 can receive user selection (e.g., pressing) aphysical enrollment button that can be located, for example, on the backside of the gateway 100. Other physical enrollment initiationimplementations are possible, such as detecting the mobile device 102being within a threshold distance of the gateway 100 and/or a LAN-basedconnection between the mobile device 102 and the gateway 100.

At 1208, the mobile device 102, for example, can begin to broadcast(e.g., over the LAN to the gateway 100) a request to enroll the mobiledevice 102 with the gateway 100. The gateway 100 can locally manage theenrollment of mobile devices, in contrast to mobile devices enrollingwith the gateway through a remote server system. The request caninclude, for example, a hash of the username and password entered withthe mobile device 102.

At 1210, the gateway 100 can receive the request. In response toreceiving the request, the gateway 100 can verify that the gateway 100is in enrollment mode (e.g., physical enrollment button pressed) and canalso verify that the hash matches a username and password that has beensetup with the gateway 100 (and/or a remote system).

At 1212, the gateway 100 can configure itself to establish a connectionto enroll the mobile device 102 with the gateway 100. This configurationat 1212 can be performed in response to determining that the hash of thepassword and username from the mobile device 102 matches a hash of thepassword and username maintained by the gateway 100.

At 1214, a connection is made with the mobile device 102. The connectioncan be made by the gateway 100 in response to the advertisement receivedfrom the mobile device 102.

At 1216, a full enrollment request is formulated at the mobile device102. The enrollment request can include, for example, a username, apassword, a hardware identifier for the mobile device 102, a temporaryLAN encryption key (e.g., temporary BLUETOOTH encryption key), and/or awireless communication hardware type (e.g., BLUETOOTH device type). Theenrollment request can additionally be encrypted with, for example, apublic key that is published by the gateway 100.

At 1218, the mobile device 102 can send an encrypted enrollment requestto the gateway 100.

At 1220, the gateway 100 can receive the encrypted enrollment requestand decrypt the enrollment request using a private key of the gateway100.

At 1222, the username and password can be validated at the gateway 100.The previous validation of the hash of the username and password at step1210 may be different from validation of the encrypted username andpassword provided by the mobile device 102. For example, the hash of theusername and password may only provide an indication of the username andpassword values (e.g., hashed value onto which the username and passwordnon-uniquely map). Other username and password combinations may providethe same hash value as well. However, for the purpose of aninitial/rough verification to initiate the enrollment process at step1210, the hash value can provide sufficient verification to initiallydetermine whether the enrollment process should proceed. The full(non-hashed) value of the username and password can be provided throughencryption and used by the gateway 100 to validate the user at step1222.

At 1224, the gateway 100 can encrypt and send system information for thegateway 100 to the mobile device 102 (in response to the username andpassword being validated). The system information can include, forexample, a LAN encryption key for the gateway 100 (e.g., BLUETOOTHencryption key), a LAN identifier for the gateway (e.g., BLUETOOTH idfor the gateway 100), a MAC address for the gateway 100, and a deviceidentifier for the mobile device 102 that has been generated by thegateway 100 (e.g., LAN id for the mobile device 102 generated by thegateway 100).

At 1226, the system information is decrypted at the mobile device 102(e.g., using the temporary BLUETOOTH encryption key) and stored for usecommunicating with the gateway 100.

Referring to FIG. 12B, for example, a scenario is presented for remotedistribution of settings to the mobile device 102 after enrollment,e.g., for use if the user buys a new mobile device 102 and/or thesettings for the gateway 100 are lost on the mobile device 102 (e.g.,mobile device 102 is wiped).

At 1228, the user 1201 may buy a new phone, e.g., replacing the existingmobile device 102 that the user 1202 was using to communicate with thegateway 100.

At 1230, input can be received to install and launch an application(similar to 1202) and, at 1232, input can be received with the usernameand password for a user associated with the mobile device 102 (similarto 1204).

At 1234, the mobile device 102 can send the username and the password toa remote system security service 1233 that can maintain user and gatewayinformation for users across multiple different gateways. For example,users may initially enroll (either through gateway devices or directcommunication) with the remote system security service 1233 to establisha unique username with the service 1233, as well as a secure passwordand other user information (e.g., name, contact information, address,billing information). Users can then enroll each of their deviceslocally with their gateway devices, which can then upload the deviceenrollment information to the service 1233. The service 1233 can storesuch user information, device enrollment information, gatewayinformation (e.g., unique gateway identifier), and associations therebetween (e.g., user-device associations, device-gateway associations,user-gateway associations).

At 1236, the remote system security service 1233 can receive theusername/password from the mobile device 102 and, using the storeduser/device/gateway information, can verify the user of the mobiledevice 102 and can determine which gateway device is associated with theuser. As indicated above, usernames can be unique system-wide with theremote system security service 1233.

At 1238, the server can send confirmation to the mobile device 102 thatthe login using the username/password was successful.

At 1240, the mobile device 102 can receive the notification that thelogin was successful and can present a user interface (e.g., controlscreens) on the mobile device 102, such as those that are presented forinterfacing with the gateway 100.

At 1242, the mobile device 102 can collect and send status informationfor the mobile device 102 to the remote security system service 1233.For example, the status information can include information for thedevice 102 and/or the user of the device 102, such as a wirelesscommunication hardware type (e.g., BLUETOOTH device type) and a hardwareidentifier for the mobile device 102. The status information can alsoinclude blank or null fields for unknown values for the mobile device102 (e.g., following the device 102 being a replacement and/or beingwiped), such as a LAN encryption key for the gateway 100 (e.g.,BLUETOOTH encryption key), a LAN identifier for the gateway (e.g.,BLUETOOTH id for the gateway 100), a MAC address for the gateway 100,and a device identifier for the mobile device 102 that has beengenerated by the gateway 100 (e.g., LAN id for the mobile device 102generated by the gateway 100).

At 1244, the server can receive the status information and can determinethat one or more fields that may be required, such as identifiers forthe gateway 100, are missing/blank.

At 1246, the remote security service 1233 can connect to the gateway 100and can request an identifier for the mobile device 102 that had beenpreviously assigned by the gateway 100 in response to determining thatthe information was missing from the status information.

At 1248, the gateway 100 can assign a new device identifier for themobile device 102 and store it along with the other information for themobile device 102, such as the wireless communication hardware type(e.g., BLUETOOTH device type) and the hardware identifier for the mobiledevice 102. The gateway 100 can send the new device identifier for themobile device 102 to the security system service 1233.

At 1250, the security system service 1233 can receive and store thenewly-assigned device identifier for the mobile device 102 and, at 1252,can transmit new device registration information for the gateway 100 tothe mobile device 102. The new device registration information caninclude, for example, information that is similar to the systeminformation that the gateway 100 provides to the mobile device 102 atstep 1224. For example, the security system service 1233 can sendinformation that includes the new device identifier for the mobiledevice 102, a LAN encryption key for the gateway 100 (e.g., BLUETOOTHencryption key), a LAN identifier for the gateway (e.g., BLUETOOTH idfor the gateway 100), a MAC address for the gateway 100.

At 1254, the mobile device 102 can receive and store the registrationinformation, and can use it to connect to the gateway 100, such asthrough a WAN connection and/or a LAN connection when the device 102 islocated at or away from the premises where the gateway 100 is located.

FIG. 13 is a block diagram of example computing devices 1300, 1350 thatmay be used to implement the systems and methods described in thisdocument, as either a client or as a server or plurality of servers.Computing device 1300 is intended to represent various forms of digitalcomputers, such as laptops, desktops, workstations, personal digitalassistants, servers, blade servers, mainframes, and other appropriatecomputers. Computing device 1300 is further intended to represent anyother typically non-mobile devices, such as televisions or otherelectronic devices with one or more processers embedded therein orattached thereto. Computing device 1350 is intended to represent variousforms of mobile devices, such as personal digital assistants, cellulartelephones, smartphones, and other computing devices. The componentsshown here, their connections and relationships, and their functions,are meant to be examples only, and are not meant to limitimplementations of the inventions described and/or claimed in thisdocument.

Computing device 1300 includes a processor 1302, memory 1304, a storagedevice 1306, a high-speed controller 1308 connecting to memory 1304 andhigh-speed expansion ports 1310, and a low-speed controller 1312connecting to low-speed bus 1314 and storage device 1306. Each of thecomponents 1302, 1304, 1306, 1308, 1310, and 1312, are interconnectedusing various busses, and may be mounted on a common motherboard or inother manners as appropriate. The processor 1302 can processinstructions for execution within the computing device 1300, includinginstructions stored in the memory 1304 or on the storage device 1306 todisplay graphical information for a GUI on an external input/outputdevice, such as display 1316 coupled to high-speed controller 1308. Inother implementations, multiple processors and/or multiple buses may beused, as appropriate, along with multiple memories and types of memory.Also, multiple computing devices 1300 may be connected, with each deviceproviding portions of the necessary operations (e.g., as a server bank,a group of blade servers, or a multi-processor system).

The memory 1304 stores information within the computing device 1300. Inone implementation, the memory 1304 is a computer-readable medium. Inone implementation, the memory 1304 is a volatile memory unit or units.In another implementation, the memory 1304 is a non-volatile memory unitor units.

The storage device 1306 is capable of providing mass storage for thecomputing device 1300. In one implementation, the storage device 1306 isa computer-readable medium. In various different implementations, thestorage device 1306 may be a floppy disk device, a hard disk device, anoptical disk device, or a tape device, a flash memory or other similarsolid state memory device, or an array of devices, including devices ina storage area network or other configurations. In one implementation, acomputer program product is tangibly embodied in an information carrier.The computer program product contains instructions that, when executed,perform one or more methods, such as those described above. Theinformation carrier is a computer- or machine-readable medium, such asthe memory 1304, the storage device 1306, or memory on processor 1302.

The high-speed controller 1308 manages bandwidth-intensive operationsfor the computing device 1300, while the low-speed controller 1312manages lower bandwidth-intensive operations. Such allocation of dutiesis an example only. In one implementation, the high-speed controller1308 is coupled to memory 1304, display 1316 (e.g., through a graphicsprocessor or accelerator), and to high-speed expansion ports 1310, whichmay accept various expansion cards (not shown). In the implementation,low-speed controller 1312 is coupled to storage device 1306 andlow-speed bus 1314. The low-speed bus 1314 (e.g., a low-speed expansionport), which may include various communication ports (e.g., USB,Bluetooth®, Ethernet, wireless Ethernet), may be coupled to one or moreinput/output devices, such as a keyboard, a pointing device, a scanner,or a networking device such as a switch or router, e.g., through anetwork adapter.

The computing device 1300 may be implemented in a number of differentforms and/or virtualized, as shown in the figure. For example, it may beimplemented as a standard server 1320, or multiple times in a group ofsuch servers. It may also be implemented as part of a rack server system1324. In addition, it may be implemented in a personal computer such asa laptop computer 1322. Alternatively, components from computing device1300 may be combined with other components in a mobile device (notshown), such as computing device 1350. Each of such devices may containone or more of computing devices 1300, 1350, and an entire system may bemade up of multiple computing devices 1300, 1350 communicating with eachother.

Computing device 1350 includes a processor 1352, memory 1364, aninput/output device such as a display 1354, a communication interface1366, and a transceiver 1368, among other components. The computingdevice 1350 may also be provided with a storage device, such as amicro-drive or other device, to provide additional storage. Each of thecomponents 1350, 1352, 1364, 1354, 1366, and 1368, are interconnectedusing various buses, and several of the components may be mounted on acommon motherboard or in other manners as appropriate.

The processor 1352 can process instructions for execution within thecomputing device 1350, including instructions stored in the memory 1364.The processor may also include separate analog and digital processors.The processor may provide, for example, for coordination of the othercomponents of the computing device 1350, such as control of userinterfaces, applications run by computing device 1350, and wirelesscommunication by computing device 1350.

Processor 1352 may communicate with a user through control interface1358 and display interface 1356 coupled to a display 1354. The display1354 may be, for example, a TFT LCD display or an OLED display, or otherappropriate display technology. The display interface 1356 may compriseappropriate circuitry for driving the display 1354 to present graphicaland other information to a user. The control interface 1358 may receivecommands from a user and convert them for submission to the processor1352. In addition, an external interface 1362 may be provided incommunication with processor 1352, so as to enable near areacommunication of computing device 1350 with other devices. Externalinterface 1362 may provide, for example, for wired communication (e.g.,via a docking procedure) or for wireless communication (e.g., viaBluetooth® or other such technologies).

The memory 1364 stores information within the computing device 1350. Inone implementation, the memory 1364 is a computer-readable medium. Inone implementation, the memory 1364 is a volatile memory unit or units.In another implementation, the memory 1364 is a non-volatile memory unitor units. Expansion memory 1374 may also be provided and connected tocomputing device 1350 through expansion interface 1372, which mayinclude, for example, a subscriber identification module (SIM) cardinterface. Such expansion memory 1374 may provide extra storage spacefor computing device 1350, or may also store applications or otherinformation for computing device 1350. Specifically, expansion memory1374 may include instructions to carry out or supplement the processesdescribed above, and may include secure information also. Thus, forexample, expansion memory 1374 may be provide as a security module forcomputing device 1350, and may be programmed with instructions thatpermit secure use of computing device 1350. In addition, secureapplications may be provided via the SIM cards, along with additionalinformation, such as placing identifying information on the SIM card ina non-hackable manner.

The memory may include for example, flash memory and/or MRAM memory, asdiscussed below. In one implementation, a computer program product istangibly embodied in an information carrier. The computer programproduct contains instructions that, when executed, perform one or moremethods, such as those described above. The information carrier is acomputer- or machine-readable medium, such as the memory 1364, expansionmemory 1374, or memory on processor 1352.

Computing device 1350 may communicate wirelessly through communicationinterface 1366, which may include digital signal processing circuitrywhere necessary. Communication interface 1366 may provide forcommunications under various modes or protocols, such as GSM voicecalls, SMS, EMS, or MMS messaging, CDMA, TDMA, PDC, WCDMA, CDMA2000, orGPRS, among others. Such communication may occur, for example, throughtransceiver 1368 (e.g., a radio-frequency transceiver). In addition,short-range communication may occur, such as using a Bluetooth®, WiFi,or other such transceiver (not shown). In addition, GPS receiver module1370 may provide additional wireless data to computing device 1350,which may be used as appropriate by applications running on computingdevice 1350.

Computing device 1350 may also communicate audibly using audio codec1360, which may receive spoken information from a user and convert it tousable digital information. Audio codec 1360 may likewise generateaudible sound for a user, such as through a speaker, e.g., in a handsetof computing device 1350. Such sound may include sound from voicetelephone calls, may include recorded sound (e.g., voice messages, musicfiles, etc.) and may also include sound generated by applicationsoperating on computing device 1350.

The computing device 1350 may be implemented in a number of differentforms, as shown in the figure. For example, it may be implemented as acellular telephone 1380. It may also be implemented as part of asmartphone 1382, personal digital assistant, or other mobile device.

Various implementations of the systems and techniques described here canbe realized in digital electronic circuitry, integrated circuitry,specially designed ASICs (application specific integrated circuits),computer hardware, firmware, software, and/or combinations thereof.These various implementations can include implementation in one or morecomputer programs that are executable and/or interpretable on aprogrammable system including at least one programmable processor, whichmay be special or general purpose, coupled to receive data andinstructions from, and to transmit data and instructions to, a storagesystem, at least one input device, and at least one output device.

These computer programs (also known as programs, software, softwareapplications or code) include machine instructions for a programmableprocessor, and can be implemented in a high-level procedural and/orobject-oriented programming language, and/or in assembly/machinelanguage. Other programming paradigms can be used, e.g., functionalprogramming, logical programming, or other programming. As used herein,the terms “machine-readable medium” “computer-readable medium” refers toany computer program product, apparatus and/or device (e.g., magneticdiscs, optical disks, memory, Programmable Logic Devices (PLDs)) used toprovide machine instructions and/or data to a programmable processor,including a machine-readable medium that receives machine instructionsas a machine-readable signal. The term “machine-readable signal” refersto any signal used to provide machine instructions and/or data to aprogrammable processor.

To provide for interaction with a user, the systems and techniquesdescribed here can be implemented on a computer having a display device(e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor)for displaying information to the user and a keyboard and a pointingdevice (e.g., a mouse or a trackball) by which the user can provideinput to the computer. Other kinds of devices can be used to provide forinteraction with a user as well; for example, feedback provided to theuser can be any form of sensory feedback (e.g., visual feedback,auditory feedback, or tactile feedback); and input from the user can bereceived in any form, including acoustic, speech, or tactile input.

The systems and techniques described here can be implemented in acomputing system that includes a back end component (e.g., as a dataserver), or that includes a middleware component (e.g., an applicationserver), or that includes a front end component (e.g., a client computerhaving a graphical user interface or a Web browser through which a usercan interact with an implementation of the systems and techniquesdescribed here), or any combination of such back end, middleware, orfront end components. The components of the system can be interconnectedby any form or medium of digital data communication (e.g., acommunication network). Examples of communication networks include alocal area network (“LAN”), a wide area network (“WAN”), and theInternet.

The computing system can include clients and servers. A client andserver are generally remote from each other and typically interactthrough a communication network. The relationship of client and serverarises by virtue of computer programs running on the respectivecomputers and having a client-server relationship to each other.

While this specification contains many specific implementation details,these should not be construed as limitations on the scope of anyinventions or of what may be claimed, but rather as descriptions offeatures specific to particular implementations of particularinventions. Certain features that are described in this specification inthe context of separate implementations can also be implemented incombination in a single implementation. Conversely, various featuresthat are described in the context of a single implementation can also beimplemented in multiple implementations separately or in any suitablesub-combination. Moreover, although features may be described above asacting in certain combinations and even initially claimed as such, oneor more features from a claimed combination can in some cases be excisedfrom the combination, and the claimed combination may be directed to asub-combination or variation of a sub-combination.

Similarly, while operations are depicted in the drawings in a particularorder, this should not be understood as requiring that such operationsbe performed in the particular order shown or in sequential order, orthat all illustrated operations be performed, to achieve desirableresults. In certain circumstances, multitasking and parallel processingmay be advantageous. Moreover, the separation of various systemcomponents in the implementations described above should not beunderstood as requiring such separation in all implementations, and itshould be understood that the described program components and systemscan generally be integrated together in a single software product orpackaged into multiple software products.

Thus, particular implementations of the subject matter have beendescribed. Other implementations are within the scope of the followingclaims. In some cases, the actions recited in the claims can beperformed in a different order and still achieve desirable results. Inaddition, the processes depicted in the accompanying figures do notnecessarily require the particular order shown, or sequential order, toachieve desirable results. In certain implementations, multitasking andparallel processing may be advantageous.

What is claimed is:
 1. A mobile communications device with one or moreprocessors and memory, the memory storing a downloaded premises securitysystem interface and control application that is executable by the oneor more processors of the mobile communications device and comprises: asecurity system interface and control module configured to generatecommunications that are to be communicated to a premises security systemgateway component and to process communications transmitted by thepremises security system gateway component to the mobile communicationsdevice; a communications state module configured to produce an outputidentifying which of a plurality of communication modes is active, theplurality of communication modes including, at least, a firstcommunications mode and a second communications mode; a communicationsmodule configured to provide the communications between the mobilecommunications device and the premises security system gateway componentusing (i) a local area wireless communications system when thecommunications state module is indicating the first communications modeis active and (ii) a wide area wireless communications system when thecommunications state module is indicating the second communications modeis active, the local area wireless communications system providing alocal wireless connection between the mobile communications device andthe premises security system gateway component, the wide area wirelesscommunications system providing an indirect connection between themobile communications device and the premises security system gatewaycomponent via a wide area communications system network; and a userinterface to provide security system controls and to receive user inputvia the security system controls, wherein the user interface isconfigured to direct the security system interface and control module tocontrol the premises security system gateway component based on the userinput, wherein the user interface is configured to provide the securitysystem controls, to receive the user input, and to direct the control ofthe premises security system gateway when the first communications modeis active and when the second communications mode is active.
 2. Thepremises security system interface and control application of claim 1,wherein the security system controls include an arm/disarm control toselectively arm and disarm the premises security system gatewaycomponent.
 3. The premises security system interface and controlapplication of claim 2, wherein: when the first communications mode isactive, the arm/disarm control is provided in the user interface,arm/disarm control inputs are received via the user interface, andarm/disarm control signals are transmitted to the premises securitygateway component over the local area wireless communications system,and when the second communications mode is active, the arm/disarmcontrol is provided in the user interface, the arm/disarm control inputsare received via the user interface, and the arm/disarm control signalsare transmitted to the premises security gateway component over the widearea wireless communications system.
 4. The premises security systeminterface and control application of claim 3, wherein: arm/disarm stateinformation for the premises security gateway component is received byand provided in the user interface in association with the arm/disarmcontrol, when the first communications mode is active, the arm/disarmstate information is received from the premises security gatewaycomponent over the local area wireless communications system, and whenthe second communications mode is active, the arm/disarm stateinformation is received from the premises security gateway componentover the wide area wireless communications system.
 5. The premisessecurity system interface and control application of claim 1, whereinthe security system controls include a security sensor control toselectively obtain and display security sensor state information fromthe premises security system gateway component.
 6. The premises securitysystem interface and control application of claim 5, wherein: when thefirst communications mode is active, the security sensor control isprovided in the user interface, security sensor control inputs arereceived via the user interface, and security sensor control signals aretransmitted to the premises security gateway component over the localarea wireless communications system, and when the second communicationsmode is active, the security sensor control is provided in the userinterface, the security sensor control inputs are received via the userinterface, and the security sensor control signals are transmitted tothe premises security gateway component over the wide area wirelesscommunications system.
 7. The premises security system interface andcontrol application of claim 6, wherein: when the first communicationsmode is active, the security sensor state information is received fromthe premises security gateway component over the local area wirelesscommunications system and displayed in the user interface, and when thesecond communications mode is active, the security sensor stateinformation is received from the premises security gateway componentover the wide area wireless communications system and displayed in theuser interface.
 8. The premises security system interface and controlapplication of claim 1, wherein: the premises security gateway componentis configured to control a security system located at the premises andan internet of things (IoT) system located at the premises, and thesecurity system controls include an IoT control to selectively controlthe IoT system.
 9. The premises security system interface and controlapplication of claim 8, wherein: when the first communications mode isactive, the IoT control is provided in the user interface, IoT controlinputs are received via the user interface, and IoT control signals aretransmitted to the premises security gateway component over the localarea wireless communications system, and when the second communicationsmode is active, the IoT control is provided in the user interface, theIoT control inputs are received via the user interface, and the IoTcontrol signals are transmitted to the premises security gatewaycomponent over the wide area wireless communications system.
 10. Thepremises security system interface and control application of claim 9,wherein: IoT state information for the IoT system is received by andprovided in the user interface in association with the IoT control, whenthe first communications mode is active, the IoT state information isreceived from the premises security gateway component over the localarea wireless communications system, and when the second communicationsmode is active, the IoT state information is received from the premisessecurity gateway component over the wide area wireless communicationssystem.
 11. The premises security system interface and controlapplication of claim 8, wherein: when the first communications mode isactive, the IoT control is provided in the user interface, IoT controlinputs are received via the user interface, and IoT control signals aretransmitted directly to the IoT system by the communications module overthe local area wireless communications system, and when the secondcommunications mode is active, the IoT control is provided in the userinterface, the IoT control inputs are received via the user interface,and the IoT control signals are transmitted to the premises securitygateway component over the wide area wireless communications system. 12.The premises security system interface and control application of claim11, wherein: IoT state information for the IoT system is received by andprovided in the user interface in association with the IoT control, whenthe first communications mode is active, the IoT state information isreceived directly from the IoT system over the local area wirelesscommunications system, and when the second communications mode isactive, the IoT state information is received from the premises securitygateway component over the wide area wireless communications system. 13.The premises security system interface and control application of claim12, wherein: the IoT system comprises one or more IoT devices, and whenthe first communication mode is active, the local area wirelesscommunications system includes (i) a first local area wirelesscommunication component that is adapted to communicate in a peripheralrole with the premises security system gateway component acting in acentral role to provide first wireless communication related to thesecurity system and (ii) a second local area wireless communicationcomponent that is adapted to communicate in a central role with the IoTdevices acting in a peripheral role to provide second wirelesscommunication related to the IoT system.
 14. The premises securitysystem interface and control application of claim 13, wherein the firstlocal area wireless communication component is different from the secondlocal area wireless communication component, wherein the first localarea wireless communication component simultaneously serves in theperipheral role while the second local area wireless communicationcomponent serves in the central role while the first communications modeis active.
 15. The premises security system interface and controlapplication of claim 1, wherein the local wireless connection comprisesa direct wireless connection between the mobile communications deviceand the premises security system gateway component.
 16. The premisessecurity system interface and control application of claim 15, whereinthe direct wireless connection between the mobile communications deviceand the premises security system gateway component provided by the localarea wireless communications system uses a Bluetooth low energyprotocol.
 17. The premises security system interface and controlapplication of claim 16, wherein under the Bluetooth low energy protocolthe premises security system gateway component is configured as acentral and the mobile communications device is configured as aperipheral.
 18. A method for providing a premises system interface, themethod comprising: determining, by an application running on a mobilecommunications device, whether the mobile communications device isoperating in a first communications mode or a second communicationsmode, wherein the first communications mode is used when the mobilecommunications device is in communications range of a communicationscomponent for a wireless security gateway located at a premises, whereinthe second communications mode is used when the mobile communicationsdevice is not within the communications range of the communicationscomponent for the wireless security gateway; communicating, by theapplication and in response to determining that the mobilecommunications device is operating in the first communications mode,with the wireless security gateway using a local area wirelesscommunications system, wherein the local area wireless communicationssystem provides a local wireless connection between the mobilecommunications device and the wireless security gateway; providing, bythe application and while the mobile communications device is operatingin the first communications mode, a user interface that providessecurity system controls to control of the wireless security gateway;detecting, by the application, that the mobile communications device hasswitched from operating in the first communications mode to operating inthe second communications mode; communicating, by the application and inresponse to detecting the switch from the first communications mode tothe second communications mode, with the wireless security gateway usinga wide area wireless communications system, wherein the wide areawireless communications system provides an indirect wireless connectionbetween the mobile communications device and the wireless securitygateway; and stopping, by the application, the communicating with thewireless security gateway using the local area wireless communicationsystem; and providing, by the application and while the mobilecommunications device is operating in the second communications mode,the user interface providing the security system controls to control ofthe wireless security gateway.
 19. The method of claim 18, furthercomprising: receiving, while the mobile communications device isoperating in the first communications mode, first user input via thesecurity system controls provided by the user interface; transmitting,while the mobile communications device is operating in the firstcommunications mode and based on the first user input, first securitysystem control signals to the wireless security gateway using the localarea wireless communications system; receiving, while the mobilecommunications device is operating in the second communications mode,second user input via the security system controls provided by the userinterface; and transmitting, while the mobile communications device isoperating in the second communications mode and based on the second userinput, second security system control signals to the wireless securitygateway using the wide area wireless communications system.
 20. Themethod of claim 18, wherein the local wireless connection comprises adirect wireless connection between the mobile communications device andthe wireless security gateway.